package com.jmgd.cjlx.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.jmgd.cjlx.core.entity.AbstractEntity;

/**
 * <p>
 * 
 * </p>
 *
 * @author Tom
 * @since 2024-06-28
 */
@TableName("T_CJ_LX_ORDER_D")
public class TCjLxOrderD extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    @TableField("ORDERCODE")
    private String ordercode;

    @TableField("B2BORDERCODE")
    private String b2bordercode;

    @TableField("ITEMCODE")
    private Integer itemcode;

    @TableField("GOODSID")
    private String goodsid;

    @TableField("GOODSORDERQTY")
    private int goodsorderqty;

    @TableField("ORDERPRICE")
    private BigDecimal orderprice;

    @TableField("GOODSQTY")
    private int goodsqty;

    @TableField("PRICE")
    private BigDecimal price;

    @TableField("SUBTOTAL")
    private BigDecimal subtotal;

    @TableField("CREATEDATETIME")
    private Date createdatetime;

    @TableField("COMPNAME")
    private String compname;

    @TableField("UPDATEDATETIME")
    private Date updatedatetime;

    @TableField("ORDERDETAILCODE")
    private String orderdetailcode;

    @TableField("CJWARENAME")
    private String cjwarename;

    @TableField("WARECODE")
    private String warecode;

    public String getWarecode() {
        return warecode;
    }

    public void setWarecode(String warecode) {
        this.warecode = warecode;
    }

    public String getCjwarename() {
        return cjwarename;
    }

    public void setCjwarename(String cjwarename) {
        this.cjwarename = cjwarename;
    }

    public String getOrderdetailcode() {
        return orderdetailcode;
    }

    public void setOrderdetailcode(String orderdetailcode) {
        this.orderdetailcode = orderdetailcode;
    }

    public Date getUpdatedatetime() {
        return updatedatetime;
    }

    public void setUpdatedatetime(Date updatedatetime) {
        this.updatedatetime = updatedatetime;
    }

    public String getOrdercode() {
        return ordercode;
    }

    public void setOrdercode(String ordercode) {
        this.ordercode = ordercode;
    }
    public String getB2bordercode() {
        return b2bordercode;
    }

    public void setB2bordercode(String b2bordercode) {
        this.b2bordercode = b2bordercode;
    }

    public Integer getItemcode() {
        return itemcode;
    }

    public void setItemcode(Integer itemcode) {
        this.itemcode = itemcode;
    }

    public String getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(String goodsid) {
        this.goodsid = goodsid;
    }

    public int getGoodsorderqty() {
        return goodsorderqty;
    }

    public void setGoodsorderqty(int goodsorderqty) {
        this.goodsorderqty = goodsorderqty;
    }

    public BigDecimal getOrderprice() {
        return orderprice;
    }

    public void setOrderprice(BigDecimal orderprice) {
        this.orderprice = orderprice;
    }

    public int getGoodsqty() {
        return goodsqty;
    }

    public void setGoodsqty(int goodsqty) {
        this.goodsqty = goodsqty;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getSubtotal() {
        return subtotal;
    }

    public void setSubtotal(BigDecimal subtotal) {
        this.subtotal = subtotal;
    }

    public Date getCreatedatetime() {
        return createdatetime;
    }

    public void setCreatedatetime(Date createdatetime) {
        this.createdatetime = createdatetime;
    }

    public String getCompname() {
        return compname;
    }

    public void setCompname(String compname) {
        this.compname = compname;
    }

    @Override
    public String toString() {
        return "TCjLxOrderD{" +
            "ordercode=" + ordercode +
            ", b2bordercode=" + b2bordercode +
            ", itemcode=" + itemcode +
            ", goodsid=" + goodsid +
            ", goodsorderqty=" + goodsorderqty +
            ", orderprice=" + orderprice +
            ", goodsqty=" + goodsqty +
            ", price=" + price +
            ", subtotal=" + subtotal +
            ", createdatetime=" + createdatetime +
            ", compname=" + compname +
        "}";
    }
}
